package com.ctshk.rpc.order.season.service;

import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.season.dto.SeasonOrderPayDTO;
import com.ctshk.rpc.order.season.dto.SeasonOrderTouristDataDTO;
import com.ctshk.rpc.order.season.dto.SeasonProductOrderScenicDTO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 套票-订单-景点门票订单 服务类
 * </p>
 *
 * @author 杨林
 * @since 2021-03-24
 */
public interface ISeasonProductOrderScenicService {


    /* @MethodName: 保存景点门票订单信息
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/3/25 9:31
     **/
    void saveScenicProduct(List<SeasonProductOrderScenicDTO> scenicList, Long userId, Long id);

    /* @MethodName: 景点门票 订单信息
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/3/30 16:48
     **/
    List<SeasonProductOrderScenicDTO> getOrderScenicList(Long id);

    /* @MethodName: 景点门票下供应商预订单
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/7 18:18
     **/
    void playSupplierOrder(Long orderId, TokenUser user);


    /* @MethodName: 更改确认状态
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/14 10:57
     **/
    void changeAffirmState(Long orderId, Integer isAffirm);

    void changeCancelOrderState(Long orderId, Integer cancelStatus);

    /* @MethodName: 动态套票 下单  下景点门票的单
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/21 13:54
     **/
    void playScenicOrder(TokenUser user, List<SeasonOrderPayDTO> payList, List<SeasonOrderTouristDataDTO> touristList, Map<String, Object> map);

    /* @MethodName: 固定套票 下单 走内部挂账的
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/21 15:37
     **/
    void playInternalOrder(Long orderId, TokenUser user, List<SeasonOrderTouristDataDTO> touristList);
}
